package com.lmk;

import java.util.Scanner;

public class Test01 {
    public static void main(String[] args) {
        System.out.println("我行我素购物系统>幸运抽奖");
        int  c=0;
        int random=(int) (Math.random()*10);
        System.out.println(random);
        Scanner sc=new Scanner(System.in);
        System.out.print("请输入一个四位数会员号：");
        c= sc.nextInt();

        int f=c/100%10;
        if (f==random){
            System.out.println(c+"号客户是幸运客户奖励MP3一个");
        }else {
            System.out.println(c+"号客户，谢谢您的支持");
        }
    }
}